package tet;

import dao.UsersDao;
import dao.impl.UsersDaoImpl;
import entity.Users;

import java.util.List;

public class Test {
    public static void main(String[] args) {
        UsersDao usersDao = new UsersDaoImpl() ;
        List<Users> list = usersDao.query() ;
        for(Users users:list){
            System.out.println(users.getId() + "--" + users.getName());
        }
    }
}
